package com.itheima.service;

import com.itheima.pojo.StudentQueryParam;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;

import java.util.List;

public interface StudentService {
    //分页查询
    PageResult<Student> page(StudentQueryParam studentQueryParam);
    //删除学生信息
    void deleteByIds(List<Integer> ids);

    //添加学生信息
    void save(Student student);

    //根据ID查询学生信息查询回显
    Student findById(Integer id);

    //修改学生信息
    void update(Student student);

    //违纪处理
    void violation(Integer id, Integer score);
}
